//==============================================================================
// sIEGE CAMP_anim.txt
//==============================================================================


import Construction_defines_anim.txt

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Large
            }
         }
      }
   }
}

//==============================================================================
define Tarp
{
   set hotspot
   {
      version
      {
         Visual Building E tarp siege camp
      }
   }  
}

//==============================================================================
define rushSFX
{
   SetSelector
   {
		TechLogic none/Rush Active
		set hotspot
		{
			version
			{
			  Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
			  Visualparticle sfx a rush build small
			}
		}		    
   }
}

//==============================================================================
define rushSFX02
{
   SetSelector
   {
		TechLogic none/Rush Active
		set hotspot
		{
			version
			{
			  Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
			  Visualparticle sfx a rush spell small
			}
		}		    
   }
}

//==============================================================================
define supremacySFX
{
   SetSelector
   {
		TechLogic none/Supremacy Active
		set hotspot
		{
			version
			{
			  Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
			  Visualparticle sfx empower supremacy
			}
		}		    
   }
}

//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building E Siege Camp Age3
			   connect FACE Tarp HOTSPOT
               connect ATTACHPOINT empower hotspot
			   connect hotspot supremacySFX hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building E SiegeConstruction
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building E Siege Camp Age4
               connect ATTACHPOINT empower hotspot
			      //connect FACE Tarp HOTSPOT
			   connect hotspot supremacySFX hotspot  
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building E SiegeConstruction
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building E Siege Camp Age3_Death
					connect FACE Tarp HOTSPOT
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building E SiegeConstruction
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building E Siege Camp Age4_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building E SiegeConstruction
               connect ATTACHPOINT empower hotspot
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
   }
}

